package com.itcase.homework03.work05;

/*
员工类 Employee:
    属性: 姓名 工号 工资
    抽象方法: 工作(work), 开会(meet)
*/
public abstract class Employee {
    //属性: 姓名 工号 工资
    private String name;
    private String id;
    private String salary;

    public Employee() {
    }

    public Employee(String name, String id, String salary) {
        this.name = name;
        this.id = id;
        this.salary = salary;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }
    //抽象方法: 工作(work), 开会(meet)
    public abstract void work();
    public abstract void meet();


}
